package com.ds.infra.mq.core.config;

import lombok.Data;
/**
 * 作用：存储配置类，用于设置消息存储的相关参数。
 *
 * @author WeiShaoying
 */
@Data
public class StorageConfig {

    private int maxMessagesPerTopic = 10000;
    private int maxMessageRetentionMs = 24 * 3600 * 1000; // 24 hours
    private int cleanupIntervalMs = 3600 * 1000; // 1 hour
}
